﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>order</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes"> 
<meta name="mobile-web-app-capable" content="yes"> 


<link rel="stylesheet" type="text/css" media="screen" href="<%templateskin%>/css/default.css" />
<script type="text/javascript" src="../../scripts/jquery/jquery-1.10.2.min.js"></script>
 
     
     

</head>
<body>



   <%if(action=="confirm")%>
   <script>
       $(function () {
           $('#pay_form').submit();
       });
   </script>
                        <form id="pay_form" name="pay_form" method="post" action="{config.webpath}api/payment/wapalipay/index.aspx"
                        >
                          <input id="pay_order_no" name="pay_order_no" type="hidden" value="{order_no}"
                          />
                          <input id="pay_order_amount" name="pay_order_amount" type="hidden" value="{order_amount}"
                          />
                          <input id="pay_user_name" name="pay_user_name" type="hidden" value="{userModel.user_name}"
                          />
                            <input id="pay_user_type" name="pay_user_type" type="hidden" value="1"
                          />
                          
                        </form>
                           
                        <%/if%>

<%if(action=="succeed")%>
                            <!--支付成功-->
                           <div class="order_success">
  <div class="headertile">JUICEUP</div>
  <div class="info">
    <div class="check"><span></span></div>
    <p>
    
                              恭喜您，您已经成功提交订单！ 我们将尽快和您联系！
                            <br />
                              订单详情
                              <br />
                              订单号：{order_no}
<%if(orderModel.payment_id!=6)%>
                              <br />
                              总价：{orderModel.order_amount} RMB
<%/if%>
    </p>
  </div>
</div>

                            <!--支付成功-->
                            <%/if%>





</body>
</html>